import { getAction, deleteAction, putAction, postAction, httpAction, downFile, downFilePost } from '@/api/manage'
const serviceName = '/jeecg-fz'
//信速送分页列表
const getList = (params)=>getAction(`${serviceName}/note/fzSmsFastSend/listNoteFastSend`,params);
//短信速递分页列表
const getListNoteFast = (params)=>getAction(`${serviceName}/note/fzSmsFastSend/listNoteFast`,params);
//发送短信（批量）
const sendNoteBatch = (params)=>postAction(`${serviceName}/note/fzSmsFastSend/sendNoteBatch`,params);
//短信包数量
const notePackageNum = (params)=>getAction(`${serviceName}/note/fzSmsFastSend/notePackageNum`,params);
//短信速送导出
const exportXls = (params)=>downFilePost(`${serviceName}/note/fzSmsFastSend/exportXls`,params);
//导入模板
const exportNoteSendTemplate = (params)=>downFilePost(`${serviceName}/note/fzSmsFastSend/exportNoteSendTemplate`,params);
//短信速送导入
const importPhoneExcel = (params)=>postAction(`${serviceName}/note/fzSmsFastSend/importPhoneExcel`,params);
//消息模板列表
const sysMessageTemplate = (params)=>getAction(`/sys/message/sysMessageTemplate/list`,params);

export {
  getList,
  getListNoteFast,
  sendNoteBatch,
  notePackageNum,
  exportXls,
  importPhoneExcel,
  exportNoteSendTemplate,
  sysMessageTemplate
}
